package cn.edu360.bean;

import java.io.Serializable;

@SuppressWarnings("serial")
public class UserBean  implements Serializable {

	private  int id;
	private String  name;
	private String pwd;
	private  int    age;
	private String  pnum;
	
	
	public void set(int id, String name, String pwd, int age, String pnum) {
		this.id = id;
		this.name = name;
		this.pwd = pwd;
		this.age = age;
		this.pnum = pnum;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getPnum() {
		return pnum;
	}
	public void setPnum(String pnum) {
		this.pnum = pnum;
	}
	@Override
	public String toString() {
		return "UserBean [id=" + id + ", name=" + name + ", pwd=" + pwd + ", age=" + age + ", pnum=" + pnum + "]";
	}
	
	
}
